<?php

use Phalcon\Mvc\Model;

class Zibei extends Model
{
	public $zibei_no;//家谱序号**
	public $zibei;//家谱名称**
	public $pinyin;//家谱拼音**
	public $parent_no;//父字辈序号
	public $pzibei;//父字辈
	public $user_code;//创建者代码**
	public $user_name;//创建者姓名**
	public $mtime;//**
	public $remark;
	public $gen_no;//**
	public $ser_no;//字辈先后序号
	public $ser_no_time;//字辈先后序号生成时间
	public function initialize()
    {
        $this->setSource("gen_zibei");
		$this->mtime = date('Y-m-d H:i:s');
    }
	//映射到其他数据库表
	public function getSource()
    {
        return "gen_zibei";
    }
}
